#pragma once
#include <iostream>
#include <fstream>

#include "CAbstract.h"

class CTest : public CAbstract
{
public:
    static Threads::ThreadObject *instance(void*);
    static CDynamicClass* CreateObject(void*);
    CTest();
    int exec();
private:    
    static CTest* m_instance;    
    class CGarbo {public: ~CGarbo(){if (CTest::m_instance) delete CTest::m_instance;}};
    static CGarbo Garbo;
};
